package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Online表单自定义按钮
 *
 * @author WeiZiDong
 */
@Table(name = "`onl_cgform_button`")
@Data
@ApiModel("Online表单自定义按钮")
public class OnlCgformButton implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "主键ID", example = "String")
    private String id;
    @Column(name = "`button_code`")
    @ApiModelProperty(value = "按钮编码", example = "String")
    private String buttonCode;
    @Column(name = "`button_icon`")
    @ApiModelProperty(value = "按钮图标", example = "String")
    private String buttonIcon;
    @Column(name = "`button_name`")
    @ApiModelProperty(value = "按钮名称", example = "String")
    private String buttonName;
    @Column(name = "`button_status`")
    @ApiModelProperty(value = "按钮状态", example = "String")
    private String buttonStatus;
    @Column(name = "`button_style`")
    @ApiModelProperty(value = "按钮样式", example = "String")
    private String buttonStyle;
    @Column(name = "`exp`")
    @ApiModelProperty(value = "表达式", example = "String")
    private String exp;
    @Column(name = "`cgform_head_id`")
    @ApiModelProperty(value = "表单ID", example = "String")
    private String cgformHeadId;
    @Column(name = "`opt_type`")
    @ApiModelProperty(value = "按钮类型", example = "String")
    private String optType;
    @Column(name = "`order_num`")
    @ApiModelProperty(value = "排序", example = "1")
    private Integer orderNum;
    @Column(name = "`opt_position`")
    @ApiModelProperty(value = "按钮位置1侧面2底部", example = "String")
    private String optPosition;

    private static final long serialVersionUID = 1L;
}
